<?php

return [
    'adminEmail' => 'admin@example.com',
    'supportEmail' => 'support@example.com',
    'user.passwordResetTokenExpire' => 3600,
    'sequence' => [
        'dynamic_comment' => 8,
        'credit_log' => 8
    ],
    'format_pattern' => [
        //用户名必须是数字、英文、汉字或者下划线，不能以数字或者下划线开头或结尾
        'username' => '/^[a-zA-Z\x80-\xff]{1}[a-zA-Z0-9_\x80-\xff]{4,30}[a-zA-Z\x80-\xff]{1}$/',
        'mobile' => '/1[3456789]{1}\d{9}$/',
        'email' => '/^\w+([-.]\w+)*@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3}$/',
        'idcardno' => '/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|x|X)$/',
        'vipcard' => '/^(zs|ZS|ccb|CCB|ln|LN)\d{6}$/',
    ],
    'alioss_video_host'=>[
        //截帧地址
        'host'=>'https://lntsv.oss-cn-hangzhou.aliyuncs.com',
        //时间
        't'=>0,
        //宽度
        'width'=>187,
        //高度
        'height'=>302,
        //格式
        'format'=>'jpg',
        //截图模式
        'module'=>'fast',
    ]
];
